export const isDisabledForm = (bool) => {
  const form = document.getElementById("sort_cats");

  form.breed.disabled = bool;
  form.age.disabled = bool;
  form.size.disabled = bool;
  form.submit.disabled = bool;
};

export const cleanElements = () => {
  document.getElementById("cats_show").innerHTML = "";
  document.getElementById("table_show").innerHTML = "";
  isDisabledForm(true);
};
